package com.wangshouyu.mp.base.enums;

/**
 * @author 王守钰
 * @date 2020年12月07日 11:41
 * @description 消息类型
 */
public enum MessageType {

    /**
     * 消息类型
     */
    TEXT("text","文本"),

    IMAGE("image","图片"),

    VOICE("voice","语音"),

    VIDEO("video","视频"),

    SHORT_VIDEO("shortvideo","短视频"),

    LOCATION("location","位置"),

    LINK("link","链接"),

    EVENT("event","事件"),

    MINI_PROGRAM_PAGE("miniprogrampage","小程序页码"),

    WX_CARD("wxcard","卡券消息"),

    MSG_MENU("msgmenu", "菜单消息"),

    MP_NEWS("mpnews","图文消息"),

    NEWS("news", "图文消息"),
    ;
    private String type;

    private String description;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    MessageType(String type, String description) {
        this.type = type;
        this.description = description;
    }
}
